package org.yoao.crm.business.service;

import org.yoao.crm.bean.Session;
import org.yoao.crm.bean.User;
import org.yoao.crm.struts.form.LoginForm;

public interface ILoginService {
	public User Login(LoginForm form)throws Exception;
	public User Logout(Session session)throws Exception;
	
	public Session setSession(String sessionId, String userName, String role, String ip, String date) throws Exception;
	public Session setSession(String sessionId, User user, String ip, String date) throws Exception;
}